package com.jiukuaidao.zhulin.api;

import com.jiukuaidao.library.net.ApiBaseParamAbstract;
import com.jiukuaidao.library.net.MyRetroCallBack;
import com.jiukuaidao.library.net.RootResult;
import com.jiukuaidao.zhulin.module.pay.wechat.util.PayResult;
import com.jiukuaidao.zhulin.util.NetUtil;
import com.jiukuaidao.zhulin.util.RetrofitUtil;

import retrofit2.Call;

/**
 * Author : PaiTaSuo
 * Date : 2016/6/20
 * Description :
 */
public class ApiConfirmPay extends ApiBaseParamAbstract {
    private String mOrderId;

    public ApiConfirmPay(String orderId, MyRetroCallBack myRetroCallBack) {
        super(myRetroCallBack);
        mOrderId = orderId;

    }

    @Override
    public Call<RootResult<PayResult>> getCall() {
        return RetrofitUtil.getApiManager(mParams, NetUtil.getResHeaderListener()).getConfirmPay(mOrderId);
    }

}
